package com.ruoyi.tongban.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 孩子-班级关联对象 ins_class_child
 * 
 * @author ruoyi
 * @date 2021-05-25
 */
public class InsClassChild extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 孩子-班级关系id */
    private Long classChildId;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classId;

    /** 孩子id */
    @Excel(name = "孩子id")
    private Long childId;

    /** 关系状态:对应字典表sys_dictionary中的ClassChildStatus类型 */
    @Excel(name = "关系状态:对应字典表sys_dictionary中的ClassChildStatus类型")
    private Integer status;

    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;

    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;

    public void setClassChildId(Long classChildId) 
    {
        this.classChildId = classChildId;
    }

    public Long getClassChildId() 
    {
        return classChildId;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setChildId(Long childId) 
    {
        this.childId = childId;
    }

    public Long getChildId() 
    {
        return childId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classChildId", getClassChildId())
            .append("classId", getClassId())
            .append("childId", getChildId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
